<%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"

"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title><tiles:insertAttribute name="title" ignore="true" />
</title>
<script src="/Statics/Scripts/js/kstcommon.js" type="text/javascript"></script>
<script src="/Statics/Scripts/js/kst.Login.js" type="text/javascript"></script>
<link href="/Statics/Content/Site.css" rel="stylesheet" type="text/css" />
</head>
<body>
	<div class="top">
		<div class="top_content">
			<ul>
				<li style="width:220px; margin:0 20px"><img src="/Statics/content/images/logo.png" class="logo" alt="手机考试" />
				</li>
				<li><a href="/" title="考试100" style=" width:60px;">首页</a>
				</li>
				<li>@Html.ActionLink("下载手机版", "index", "download")</li>
				<li>
					class="btnupload" href='@Url.Action("Index", "ZhuShou")'>我要上传</a></li>
				<li><a title="考试100网页版" href='@Url.Action("Web", "kaoshi")'
					style="width:75px">网页版</a> <img alt="" src="@Url.Content("
					~/content/images/new.png")" width="34px"
					style=" vertical-align:sub; position:absolute; top:22px; right:-20px;" />
				</li> @if (ubll.IsLogin()) { string[] logininfo =
				ubll.GetUsersLoginInfo(); var pbll = new WDKST.BLL.PaperBLL(); var
				list = pbll.GetAnswerPaperByUserID(logininfo[0],6); int
				isbussness=0; if (logininfo.Length == 4) { isbussness =
				Convert.ToInt32(logininfo[3]); } if (isbussness==0) {
				<li style=" float:right;" class="hover">@if (list.Count == 0) {
					<a
					style=" color:White; text-align:center; width:100px; height:32px; font-size:16px; margin-left:10px; display:block; text-decoration:none;">没有答题</a>
					} else {
					 <a
					class="examcateIndexlist" style=" cursor:pointer;"
					href="@Url.Action(" Redo", "Action", new { id=list[0].ID,
					ver=list[0].VerID })" target="_blank"> 继续上次<img alt=""
						src="@Url.Content("
						~/content/images/arrow.png")" style=" vertical-align:middle; margin-left:5px;" />
				</a>
					<ul class="gon">
						@foreach (var item in list) {
						<li><a href="@Url.Action(" Redo", "Action", new { id=item.ID,
							ver=item.VerID })" target="_blank" title="@item.PaperName">@item.PaperName</a>
						</li> }
					</ul> <!--[if lte IE 6]></td></tr></table></a><![endif]--> }</li> } else {
				<li style=" float:right;" class="hover"><a
					style="color:White; text-align:center; width:100px; height:32px; font-size:16px; margin-left:10px; display:block; text-decoration:none;"
					href="/cporder/cporderlist">考试合作</a></li> }
				<li style=" float:right;" class="hover">
					<!--[if lte IE 6]><a href=""><table><tr><td><![endif]--> <a
					class="examcateIndexlist" id="usernike" title="@logininfo[2]"
					style=" overflow:hidden; cursor:default;">@logininfo[2] <img
						alt="" src="@Url.Content("
						~/content/images/arrow.png")" style=" vertical-align:middle; margin-left:5px;" />
				</a>
					<ul>
						<li><a href="@Url.Action("MyExercise", "Member")">我的答题</a>
						</li>
						<li><a href="@Url.Action("MyErrorQuestions", "Member")">我的错题</a>
						</li>
						<li><a href="@Url.Action("MyFavoriteQuestions", "Member")">我的收藏</a>
						</li>
						<li><a href="@Url.Action("MyPaper", "Member")">我的上传</a>
						</li>
						<li><a href="@Url.Action("Account", "Member")">帐号设置</a>
						</li>
						<li><a href="@Url.Action("
							Logout", "Users", new { ReturnUrl=Request.Url.OriginalString})">
                                退出</a></li>
					</ul> </li> } else {
				<li style=" float:right;">@Html.ActionLink("注册", "register",
					new { Controller = "users", area = "", ReturnUrl =
					Request.QueryString["ReturnUrl"] }, new { style = "width:60px;" })</li>
				<li style=" float:right;"><a href="@Url.Action("
					Login", new { Controller="users" , area="" })" id="examlogin"
					style="width:60px;"> 登录</a>
				</li> }
			</ul>
		</div>
	</div>
	<table border="1" cellpadding="2" cellspacing="2" align="center">
		<tr>

			<td height="30" colspan="2"><tiles:insertAttribute name="header" />
			</td>
		</tr>

		<tr>
			<td height="250"><tiles:insertAttribute name="menu" />
			</td>
			<td width="350"><tiles:insertAttribute name="body" />
			</td>

		</tr>
		<tr>
			<td height="30" colspan="2"><tiles:insertAttribute name="footer" />
			</td>
		</tr>
	</table>
</body>
</html>
